package com.lingchou.cloud.process.api.dto.param;

import com.lingchou.cloud.process.api.enums.CommentTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@ApiModel(value = "CommentVo", description = "操作备注类")
public class CommentVo implements Serializable {

    private static final long serialVersionUID = -4380604801016510729L;
    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id")
    private String taskId;

    /**
     * 添加人
     */
    @ApiModelProperty(value = "添加人")
    private String userId;

    /**
     * 用户的名称
     */
    @ApiModelProperty(value = "用户的名称")
    private String userName;

    /**
     * 用户的头像链接
     */
    @ApiModelProperty(value = "用户的头像链接")
    private String userUrl;

    /**
     * 流程实例id
     */
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;

    /**
     * 意见信息
     */
    @ApiModelProperty(value = "意见信息")
    private String message;

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间")
    private Date time;

    /**
     *  @see CommentTypeEnum
      */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称")
    private String typeName;

    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    /**
     * 评论全信息
     */
    @ApiModelProperty(value = "评论全信息")
    private String fullMsg;
}
